import request from '@/utils/request'

export function supplierList() {
  return request({
    url: '/supplier/list',
    method: 'get',
  })
}

export function supplierSearch(page) {
  return request({
    url: '/supplier/search',
    method: 'get',
    params: page
  })
}

export function supplierAdd(page) {
  return request({
    url: '/supplier/add',
    method: 'get',
    params: page
  })
}

export function supplierDelete(page) {
  return request({
    url: '/supplier/delete',
    method: 'get',
    params: page
  })
}

export function supplierEdit(page) {
  return request({
    url: '/supplier/edit',
    method: 'get',
    params: page
  })
}

